package com.yingsheng.bi.hks.feign.client;

import com.yingsheng.bi.hks.basic.FeignConst;
import com.yingsheng.bi.hks.dto.mine.*;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * “我的”交易
 */
@FeignClient(contextId = FeignConst.HKS_MINE, name = FeignConst.SERVICE_NAME)
@Api(tags = "我的交易", value = "我的交易")
public interface MineFeignClient {

    @ApiOperation(httpMethod = "POST",value = " 发票新增")
    @RequestMapping(value = "/invoicesMgmt/invoicesAdd")
    InvoicesAddRes invoicesAdd(@RequestBody InvoicesAddReq req);

    @ApiOperation(httpMethod = "POST",value = " 发票个人查询")
    @RequestMapping(value = "/invoicesMgmt/invoicesPersonQry")
    InvoicesPersonQryRes invoicesQryByUser(@RequestBody InvoicesPersonQryReq req);

    @ApiOperation(httpMethod = "POST",value = "待面试阿姨查询")
    @RequestMapping(value = "/interview/interviewAuntQry")
    InterviewAuntQryRes interviewAuntQry(@RequestBody InterviewAuntQryReq req);

    @ApiOperation(httpMethod = "POST",value = " 合伙人登记")
    @RequestMapping(value = "/partner/partnerAdd")
    PartnerAddRes partnerAdd(@RequestBody PartnerAddReq req);

    @ApiOperation(httpMethod = "POST",value = "我的简历查询")
    @RequestMapping(value = "/resume/myResumeQry")
    MyResumeQryRes myResumeQry(@RequestBody MyResumeQryReq req);
}
